package com.heima.model.order.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * serviceOrderDetail
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_service_order_detail")
public class ServiceOrderDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id; //id



    @ApiModelProperty("订单id")
    @TableField("order_id")
	private Long orderId;//订单id

    @ApiModelProperty("服务项目编码")
    @TableField("service_code")
	private String serviceCode;//服务项目编码

    @ApiModelProperty("服务项目名称")
    @TableField("service_name")
	private String serviceName;//服务项目名称

    @ApiModelProperty("价格（分）")
    @TableField("price")
	private Integer price;//价格（分）



}
